﻿@model IEnumerable<SAKS.Models.ProjectProcess>
@{
    ViewBag.Title = "Process";
    Layout = "~/Views/Project/_ProjectLayout.cshtml";
}

<h2>项目进展</h2>
<input type="hidden" id="projectid" value="@ViewBag.ProjectId" />
<input type="hidden" id="admin" value="@ViewBag.Admin" />
<input type="hidden" id="isadmin" value="@ViewBag.IsAdmin" />
<p>
<a href="/Project/AddProcess/@ViewBag.ProjectId">添加项目进展</a>
</p>
<hr />

@if (Model.Count() == 0)
{
    <p>没有项目进展</p> 
}
else
{
    foreach (var m in Model)
    {
        <div class="display-box">
        @Html.Partial("PartialProjectProcess",m)
        <hr />
        </div> 
    } 
}



